#!/bin/bash

read -p "please input a number , I wil count for 1+2..+your_input:" nu

s=0
for ((i=1;i<=$nu;i++))
do
	s=$(($s+$i))
done

echo "The result of '1+2..$nu' is ==> $s"
